#include<iostream> 
#include<vector>
using namespace std;

class Solution {
public:
    int findLengthOfLCIS(vector<int>& nums) {
		int ans = 0, temp = 1, n = nums.size();
		for(int i = 1; i < n; i++){
			if(nums[i] <= nums[i] - 1){
				ans = max(ans, temp);
				temp = 0;
			}
			temp++;
		}
		ans = max(ans, temp);
		return ans;
    }
};

int main(){
	
}
//2020.1.24 
